<template>
    <view class="container">
        <!-- #ifdef H5 -->
        <span>账号:</span>
        <input type="text" />
        <span>密码":</span>
        <input type="text" password="" />
        <button>账号登录</button>
        <!-- #endif -->
        <!-- #ifdef MP-WEIXIN -->
        <button tap="wxLogin">一键登录</button>
        <!-- #endif -->
        <custom-uniform></custom-uniform>
    </view>
</template>

<script setup>
const wxLogin = () => {
    uni.login({})
}
</script>

<style>
.container {
    height: 100vh;
    /* #ifdef H5 */
    background-color: aqua;
    /* #endif */
    /* #ifdef MP-WEIXIN */
    background-color: bisque;
    /* #endif */
}
</style>
